Coding TestProgrammersLevel 1부족한 금액 계산하기On this page부족한 금액 계산하기 Solution function solution(price, money, count) { return Math.max(((price + price * count) * count) / 2 - money, 0);} Review . References Programmers - 부족한 금액 계산하기